<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<script language="javascript" src="js/confirmation.js"></script>
<style type="text/css">

    #page{
        position: absolute;
        width: 1025px;
        height: 660px;
        top: 200px;
        overflow:scroll;
        text-align: center;
    }


</style>

<div class="action">

    <div id="page">
        <H1> Gestion des maitres de stage </H1>

        <div id="menuadmin2" >
            <ul>
                <li><a href="livret?action=ajoutModifMaitre" title="Ajouter un nouveau maitre de stage">Ajout Maitre</a></li>

            </ul>
        </div>
        <br><br>

        <table border=1 bordercolor='black' width="550" align="center">
            <tr>
                <th>NOM</th>
                <th>PRENOM</th>
                <th>MODIFICATION</th>
                <th>SUPPRESSION</th>

            </tr>

            <c:forEach var="maitreDeStage" items="${maitresDeStage}">
                <tr>
                    <td align="center">${maitreDeStage.nom}</td>
                    <td align="center">${maitreDeStage.prenom}</td>
                    <td align="center"><a href="livret?action=ajoutModifMaitre&idMaitre=${maitreDeStage.id}">Modifier</a></td>
                    <td align='center'><a href='#' onClick="confirme('${maitreDeStage.id}');" >Supprimer</a></td>
                </tr>
            </c:forEach>

        </table>
    </div>

</div>


